﻿<%@ Page Title="Tobias Lekman - Search Results" Language="C#" MasterPageFile="~/Site.master"
    AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="LekmanCom.Search" %>

<asp:Content ID="MetaContent" ContentPlaceHolderID="Meta" runat="server">
    <meta name="ROBOTS" content="NOINDEX, FOLLOW" />
</asp:Content>

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div class="main pad">
        <h2 class="pagetitle">
            Search Results for &quot;<asp:Literal id="QueryText" runat="server" />&quot;</h2>
        <asp:Panel ID="NoResults" runat="server" visible="false">
            <p>
                There are no results for your specified query.</p>           
            <strong>Search tips:</strong>
            <ul>
                <li>Try using a broader search term</li>
                <li>Use the tag tree navigator from within the <a href="http://blog.lekman.com">Blog</a>
                    section.</li>
            </ul>           
        </asp:Panel>
        <div id="resultsDiv">
            <asp:Repeater ID="SearchResults" runat="server">
                <HeaderTemplate>
                </HeaderTemplate>
                <ItemTemplate>
                    <h3>
                        <a href="<%# Eval("Url") %>">
                            <%# Eval("Title") %>
                        </a>
                    </h3>
                    <p class="desc">
                        <%# Eval("Description") %></p>
                    <a href="<%# Eval("Url") %>" class="sitelink">
                        <%# Eval("DisplayUrl") %>
                    </a>
                </ItemTemplate>
                <FooterTemplate>
                    </div>
                </FooterTemplate>
            </asp:Repeater>
        </div>
    </div>
</asp:Content>
